#ifndef SETTING_H
#define SETTING_H

#include <QObject>

class Setting : public QObject
{
    Q_OBJECT
public:
    explicit Setting(QObject *parent = nullptr);
    Q_INVOKABLE QHash<QString,QVariant> getSettingParams();
    Q_INVOKABLE bool saveSettingParam(const QString& param, const QString& value);
    Q_INVOKABLE QString getSettingParam(const QString& param);
signals:
    void signalUpdateParam(const QString& type, const QString& value);
};

#endif // SETTING_H
